﻿capital = 645

oob = "NIM_1007"

set_research_slots = 3

set_technology = {
	pony_race = 1
	NIM_funny_tech = 1
	melee_weapons = 1
	melee_weapons1 = 1
	infantry_weapons = 1
	pre_gw_artillery = 1
	tech_recon = 1
	tech_military_police = 1
	tech_support = 1
	tech_mountaineers = 1
	tech_pegasi = 1
	tech_pegasi2 = 1
	tech_special_forces = 1
	marines = 1
	basic_train = 1
}
set_technology = {
		early_ship_hull_submarine = 1
		early_ship_hull_light = 1
		early_ship_hull_cruiser = 1
		basic_battery = 1
		basic_depth_charges = 1
		basic_torpedo = 1
		carrier_cloud_tech_mtg = 1
		coastal_defense_ships = 1
		pre_dreadnoughts = 1
}
create_equipment_variant = {
		name = "Storm Class"
		type = ship_hull_light_1
		name_group = NIM_DD_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_light_battery_1
			fixed_ship_anti_air_slot = empty
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = light_ship_engine_1
			fixed_ship_torpedo_slot = ship_torpedo_1
			mid_1_custom_slot = ship_torpedo_1
			rear_1_custom_slot = ship_depth_charge_1
		}
}
create_equipment_variant = {
		name = "Hurricane Class"
		type = ship_hull_cruiser_1
		name_group = NIM_CL_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_light_medium_battery_1
			fixed_ship_anti_air_slot = empty
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = cruiser_ship_engine_1
			fixed_ship_secondaries_slot = ship_secondaries_1
			fixed_ship_armor_slot = ship_armor_cruiser_1
			mid_1_custom_slot = ship_secondaries_1
			mid_2_custom_slot = ship_light_medium_battery_1
			rear_1_custom_slot = ship_airplane_launcher_1
		}
}
create_equipment_variant = {
		name = "Nimbusia Class"
		type = ship_hull_pre_dreadnought
		name_group = NIM_BB_BC_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_heavy_battery_1
			fixed_ship_anti_air_slot = empty
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = heavy_ship_engine_1
			fixed_ship_secondaries_slot = ship_secondaries_1
			fixed_ship_armor_slot = ship_armor_bb_1
			front_1_custom_slot = empty
			mid_1_custom_slot = ship_torpedo_1
			rear_1_custom_slot = ship_airplane_launcher_1
		}
}
create_equipment_variant = {
		name = "Cyclone Class"
		type = ship_hull_cruiser_1
		name_group = NIM_CL_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_medium_battery_1
			fixed_ship_anti_air_slot = empty
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = cruiser_ship_engine_1
			fixed_ship_secondaries_slot = ship_secondaries_1
			fixed_ship_armor_slot = ship_armor_cruiser_1
			mid_1_custom_slot = ship_secondaries_1
			mid_2_custom_slot = ship_medium_battery_1
			rear_1_custom_slot = ship_medium_battery_1
		}
}
create_equipment_variant = {
		name = "Thunderking Class"
		type = ship_hull_cloud_carrier
		name_group = NIM_CV_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_deck_slot_1 = ship_deck_space_bad
			fixed_ship_deck_slot_2 = ship_deck_space_bad
			fixed_ship_anti_air_slot = empty
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = cruiser_ship_engine_1
			fixed_ship_secondaries_slot = ship_secondaries_1
		}
}
set_naval_oob = "NIM_1007_naval"
if = {
	limit = { has_dlc = "By Blood Alone" }
	set_technology = {
		aa_lmg = 1
		early_bombs = 1
		aircraft_construction = 1
		engines_1 = 1
		engines_2 = 1
		iw_small_airframe = 1
		basic_small_airframe = 1
		air_torpedoe_1 = 1
	}

	create_equipment_variant = {
		name = "Early Fighter"
		type = small_plane_airframe_0
		modules = {
			fixed_main_weapon_slot = light_mg_2x
			special_type_slot_7 = normally_aspirated_engine
			engine_type_slot = engine_1_1x
			special_type_slot_1 = empty
		}
		icon = "GFX_river_federation_2d_early_fighter_medium"
	}
	create_equipment_variant = {
		name = "CV Early Fighter" 
		type = cv_small_plane_airframe_0
		modules = {
			fixed_main_weapon_slot = light_mg_2x
			special_type_slot_7 = normally_aspirated_engine
			engine_type_slot = engine_1_1x
			special_type_slot_1 = empty
		}
	}
	create_equipment_variant = {
		name = "Naval Bomber I" 
		type = small_plane_naval_bomber_airframe_1
		modules = {
			fixed_main_weapon_slot = torpedo_mounting
			special_type_slot_7 = normally_aspirated_engine
			engine_type_slot = engine_2_1x
			fixed_auxiliary_weapon_slot_6 = lmg_defense_turret
		}
		icon = "GFX_river_federation_2d_naval_bomber1_medium"
	}
	create_equipment_variant = {
		name = "CV Naval Bomber I" 
		type = cv_small_plane_naval_bomber_airframe_1
		modules = {
			fixed_main_weapon_slot = torpedo_mounting
			special_type_slot_7 = normally_aspirated_engine
			engine_type_slot = engine_2_1x
			fixed_auxiliary_weapon_slot_6 = lmg_defense_turret
		}
	}
	set_air_oob = "NIM_1007_air_bba"

	else = {
		set_technology = {
			early_fighter = 1
			cv_early_fighter = 1
			naval_bomber1 = 1
			cv_naval_bomber1 = 1
		}
		set_air_oob = "NIM_1007_air_legacy"
	}
}
actually_fix_weapon_techs = yes #THIS HAS TO BE CALLED IN EVERY HISTORY FILE RIGHT AFTER MAIN set_technology!

set_cosmetic_tag = RIV_federation_mem

add_ideas = {
	pre_industrial_society
	better_science_base
	limited_exports
	extensive_conscription
	NIM_boule
	NIM_caste_system
	NIM_trials_of_the_cyclone
	NIM_nimbusian_general_staff
	NIM_warrior_society
	RIV_member_state
	lack_of_scientists3
	poverty5
	slavery_economy
}

set_country_flag = have_regular_puppets
set_country_flag = better_science_base_unlocked

set_convoys = 200
set_stability = 0.5
set_war_support = 0.6
add_manpower = 5000

set_popularities = {
	democratic = 33
	fascism = 33
	communism = 0
	neutrality = 34
}
set_politics = {
	ruling_party = neutrality
	last_election = "1006.1.10"
	elections_allowed = no
}
set_country_flag = has_custom_advisors
add_equipment_to_stockpile = {
	type = melee_equipment_0
	amount = 600
	producer = NIM
}
add_equipment_to_stockpile = {
	type = melee_equipment_1
	amount = 100
	producer = NIM
}
add_equipment_to_stockpile = {
	type = artillery_equipment_0
	amount = 20
	producer = NIM
}
add_equipment_to_stockpile = {
	type = support_equipment_1
	amount = 60
	producer = NIM
}

recruit_character = NIM_pegicles
recruit_character = NIM_the_boule
recruit_character = NIM_pegalaios
recruit_character = NIM_andreia
recruit_character = NIM_metakeros
recruit_character = NIM_dialusides
recruit_character = NIM_gylhippos
recruit_character = NIM_scleroanavates
recruit_character = NIM_synnefo_hionos
recruit_character = NIM_anemoroe
recruit_character = NIM_sideropleon
recruit_character = NIM_keraunoptose
recruit_character = NIM_iodis_avgi
recruit_character = NIM_shell_watch
recruit_character = NIM_twenty_fifth_pegasus
recruit_character = NIM_javik
recruit_character = NIM_kataigida_trieres
recruit_character = NIM_pnetagoras
recruit_character = NIM_demarescios
recruit_character = NIM_speushippos
recruit_character = NIM_advisor_1
recruit_character = NIM_advisor_2
recruit_character = NIM_silver_morning
recruit_character = NIM_herecles
recruit_character = NIM_theorist_1
recruit_character = NIM_theorist_2
recruit_character = NIM_theorist_3
recruit_character = NIM_theorist_4
recruit_character = NIM_high_command_1
recruit_character = NIM_high_command_2
recruit_character = NIM_paledoneous
recruit_character = NIM_high_command_4
recruit_character = NIM_high_command_5
recruit_character = NIM_high_command_6
recruit_character = NIM_high_command_7
recruit_character = NIM_high_command_8
recruit_character = NIM_air_chief_1
recruit_character = NIM_air_chief_2
recruit_character = NIM_air_chief_3
recruit_character = NIM_air_chief_4
recruit_character = NIM_navy_chief_1
recruit_character = NIM_navy_chief_2
recruit_character = NIM_navy_chief_3

NIM_scleroanavates = { set_character_flag = RIV_advisor_from_NIM }
NIM_advisor_2 = { set_character_flag = RIV_advisor_from_NIM }
NIM_silver_morning = { set_character_flag = RIV_advisor_from_NIM }
NIM_theorist_1 = { set_character_flag = RIV_advisor_from_NIM }
NIM_theorist_2 = { set_character_flag = RIV_advisor_from_NIM }
NIM_theorist_3 = { set_character_flag = RIV_advisor_from_NIM }
NIM_theorist_4 = { set_character_flag = RIV_advisor_from_NIM }
NIM_high_command_1 = { set_character_flag = RIV_advisor_from_NIM }
NIM_high_command_2 = { set_character_flag = RIV_advisor_from_NIM }
NIM_paledoneous = { set_character_flag = RIV_advisor_from_NIM }
NIM_high_command_4 = { set_character_flag = RIV_advisor_from_NIM }
NIM_high_command_5 = { set_character_flag = RIV_advisor_from_NIM }
NIM_high_command_6 = { set_character_flag = RIV_advisor_from_NIM }
NIM_high_command_7 = { set_character_flag = RIV_advisor_from_NIM }
NIM_high_command_8 = { set_character_flag = RIV_advisor_from_NIM }
NIM_air_chief_1 = { set_character_flag = RIV_advisor_from_NIM }
NIM_air_chief_2 = { set_character_flag = RIV_advisor_from_NIM }
NIM_air_chief_3 = { set_character_flag = RIV_advisor_from_NIM }
NIM_air_chief_4 = { set_character_flag = RIV_advisor_from_NIM }
NIM_navy_chief_1 = { set_character_flag = RIV_advisor_from_NIM }
NIM_navy_chief_2 = { set_character_flag = RIV_advisor_from_NIM }
NIM_navy_chief_3 = { set_character_flag = RIV_advisor_from_NIM }

set_rule = {
	can_generate_female_aces = yes
	can_generate_female_unit_leaders  = yes
	can_generate_female_country_leaders = yes
}
